SftTree/NET 2.0

ForeColorOdd Property, SftTree Class

Softel vdm, Inc.

Defines the default foreground color for items in the item area (odd numbered items).

Syntax      SftTree Class (Softelvdm.SftTreeNET)

VB   

Public Property ForeColorOdd As Color

C#   

public Color ForeColorOdd { get; set; }

C++   

public: property Color ForeColorOdd {
        Color get();
        void set(Color value);
}

Property Value

The default value is Color.WindowText.

Comments

The ForeColorOdd property defines the default foreground color for items in the item area (odd numbered items).

Columns, items and cells can override the foreground color using the ColumnClass.ForeColor, ItemClass.ForeColor and CellBaseClass.ForeColor properties.

The ForeColor property also defines the default foreground color for items in the item area. ForeColor and ForeColorOdd are used alternating between items, so every even numbered item in the display area uses ForeColor, every odd numbered item uses ForeColorOdd. The first displayed item is considered item 0.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com